package com.itheima.spring.bestpractive.mapping;

import com.itheima.spring.bestpractive.pojo.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version 1.0
 * @author: HZY
 * @date: 2025/6/27 21:27
 * @Content: 部门
 */
@Mapper
public interface DepartmentMapping {
    public void insertDepartment(List<Department> departments);
    public Department getDepartmentById(long departmentId);
    public List<Department> getAllDepartment();
}
